package yatan.cluster.job;

import java.io.Serializable;

public class JobResult implements Serializable {
    private long id;
    private Serializable data;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Serializable getData() {
        return data;
    }

    public void setData(Serializable data) {
        this.data = data;
    }

    public String toString() {
        return "JobResult[id = " + this.id + "]";
    }
}
